package com.bds.btcdc.api.model;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * Created by DongChenchen on 2018/5/16 0016
 * 账户资产信息(按交易所统计 30min获取一次,并落地)
 */
@Table("t_asset_exchange")
public class AssetExchange {
    @Id
    private Long id;
    @Column
    private Long userId;
    @Column
    private String exchange;//交易所
    @Column
    private String currency;//货币名称
    @Column
    private String count;//可用数量
    @Column
    private String freez_count;//冻结数量
    @Column
    private String last_price; //最新成交价(以usdt为单位)
    @Column
    private String amount;//可用金额（计算结果：数量*最新成交价）
    @Column
    private String freez;//冻结金额（计算结果：数量*最新成交价）
    @Column
    private String amount_cny;//可用金额(人民币)（计算结果：数量*最新成交价）
    @Column
    private String freez_cny;//冻结金额(人民币)（计算结果：数量*最新成交价）


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getFreez_count() {
        return freez_count;
    }

    public void setFreez_count(String freez_count) {
        this.freez_count = freez_count;
    }

    public String getLast_price() {
        return last_price;
    }

    public void setLast_price(String last_price) {
        this.last_price = last_price;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getFreez() {
        return freez;
    }

    public void setFreez(String freez) {
        this.freez = freez;
    }

    public String getAmount_cny() {
        return amount_cny;
    }

    public void setAmount_cny(String amount_cny) {
        this.amount_cny = amount_cny;
    }

    public String getFreez_cny() {
        return freez_cny;
    }

    public void setFreez_cny(String freez_cny) {
        this.freez_cny = freez_cny;
    }
}
